const pre = '/user/'

export default {
    path: '/user',
    title: '用户管理',
    header: 'home',
    icon: 'md-people',
    children: [
        {
            path: `${pre}merchantManage`,
            title: '商家管理',
            children: [
                {
                    path: `${pre}merchantManage/entryManage/entryManageList`,
                    title: '入驻申请管理'
                },
                {
                    path: `${pre}merchantManage/merchant/merchantList`,
                    title: '商家管理',
                    children: [

                        {
                            path: `${pre}merchantManage/merchant/merchantView`,
                            auth: ['hidden'],
                            title: '查看'
                        }
                    ]
                },
                {
                    path: `${pre}merchantManage/hotShop/hotShopList`,
                    title: '热门店铺',
                    children: [

                        {
                            path: `${pre}merchantManage/hotShop/hotShopAdd`,
                            auth: ['hidden'],
                            title: '新增热门店铺'
                        }
                    ]
                },
                {
                    path: `${pre}merchantManage/contractManage/contractManageList`,
                    title: '合同管理'
                },
                {
                    path: `${pre}merchantManage/merchantInfo/merchantInfoList`,
                    title: '注册信息管理'
                },
                {
                    path: `${pre}merchantManage/developerApplication/developerApplicationList`,
                    title: '开发者申请'
                },
                {
                    path: `${pre}merchantManage/merchantCancel/merchantCancelList`,
                    title: '商家注销申请'
                },
                {
                    path: `${pre}merchantManage/merchantEdit`,
                    auth: ['hidden'], // 新增、编辑、审核等不需要左侧展示的菜单都需要添加此项
                    title: '商家编辑'
                },
                {
                    path: `${pre}merchantManage/merchantCancelView`,
                    auth: ['hidden'], // 新增、编辑、审核等不需要左侧展示的菜单都需要添加此项
                    title: '查看'
                },
                {
                    path: `${pre}merchantManage/merchantCancelAudit`,
                    auth: ['hidden'], // 新增、编辑、审核等不需要左侧展示的菜单都需要添加此项
                    title: '审核'
                },
                {
                    path: `${pre}merchantManage/entryManage/entryManageAudit`,
                    auth: ['hidden'], // 新增、编辑、审核等不需要左侧展示的菜单都需要添加此项
                    title: '入驻审核'
                },
                {
                    path: `${pre}merchantManage/entryManage/entryManageView`,
                    auth: ['hidden'], // 新增、编辑、审核等不需要左侧展示的菜单都需要添加此项
                    title: '入驻查看'
                }
            ]
        },
        {
            path: `${pre}customer/customer/customerList`,
            title: '客户管理',
            children: [
                {
                    path: `${pre}customer/customer/customerView`,
                    title: '客户管理查看',
                    auth: ['hidden']
                }
            ]
        },
        {
            path: `${pre}cooperativePartner/cooperativePartnerList`,
            title: '合伙人',
            children: [
                // {
                //     path: `${pre}cooperativePartner/cooperativePartnerEdit`,
                //     title: '编辑合作伙伴',
                //     auth: ['hidden']
                // },
                {
                    path: `${pre}cooperativePartner/cooperativePartnerGuanLian`,
                    title: '关联合作伙伴',
                    auth: ['hidden']
                },
                {
                    path: `${pre}cooperativePartner/cooperativePartnerEdit1`,
                    title: '未关联商家',
                    auth: ['hidden']
                }
            ]
        },
        {
            path: `${pre}servicer`,
            title: '服务者管理',
            children: [
                {
                    path: `${pre}servicer/servicer/servicerView`,
                    title: '服务者管理查看',
                    auth: ['hidden']
                },
                {
                    path: `${pre}servicer/servicer/servicerList`,
                    title: '服务者管理'
                }
            ]
        },
        {
            path: `${pre}blacklist`,
            title: '黑名单管理',
            children: [
                {
                    path: `${pre}blacklist/pullblack/customerPullBlackList`,
                    title: '用户黑名单'
                },
                {
                    path: `${pre}blacklist/pullblack/customerPullBlackView`,
                    title: '用户黑名单查看',
                    auth: ['hideen']
                },
                {
                    path: `${pre}blacklist/pullblack/merchantPullBlackList`,
                    title: '商户黑名单'
                },
                {
                    path: `${pre}blacklist/pullblack/merchantPullBlackView`,
                    title: '商户黑名单查看',
                    auth: ['hideen']
                },
                {
                    path: `${pre}blacklist/pullblack/servicerPullBlackList`,
                    title: '服务者黑名单'
                },
                {
                    path: `${pre}blacklist/pullblack/servicerPullBlackView`,
                    title: '服务者黑名单查看',
                    auth: ['hideen']
                },
                {
                    path: `${pre}blacklist/pullblack/cooperativePartnerBlackList`,
                    title: '合伙人黑名单'
                },
                {
                    path: `${pre}blacklist/pullblack/cooperativePartnerBlackView`,
                    title: '合伙人黑名单查看',
                    auth: ['hideen']
                }
            ]
        },
		{
		    path: `${pre}feedback`,
		    title: '意见反馈',
		    children: [
		        {
		            path: `${pre}feedback/feedback/feedbackList`,
		            title: '意见反馈管理'
		        }
		    ]
		},
        {
            path: `${pre}developer`,
            title: '开发者',
            children: [
                {
                    path: `${pre}developer/waitAudit/waitAuditList`,
                    title: '待审核'
                },
                {
                    path: `${pre}developer/waitAudit/waitAudit`,
                    title: '开发者待审核',
                    auth: ['hidden']
                },
                {
                    path: `${pre}developer/auditPass/auditPassList`,
                    title: '审核通过'
                },
                {
                    path: `${pre}developer/auditPass/auditPassView`,
                    title: '服务者审核通过查看',
                    auth: ['hidden']
                },
                {
                    path: `${pre}developer/auditPass/auditPassOpenApi`,
                    title: '服务者审核通过打开OpenApi明细',
                    auth: ['hidden']
                },
                {
                    path: `${pre}developer/auditFailed/auditFailedList`,
                    title: '审核未通过'
                },
                {
                    path: `${pre}developer/auditFailed/auditFailed`,
                    title: '服务者审核未通过查看',
                    auth: ['hidden']
                }
            ]
        },
        {
            path: `${pre}openApi`,
            title: 'openApi管理',
            children: [
                {
                    path: `${pre}openApi/openApi/openApiView`,
                    title: 'openApi管理查看',
                    auth: ['hidden']
                },
                {
                    path: `${pre}openApi/openApi/openApiList`,
                    title: 'openApi管理'
                }
            ]
        },
        {
            path: `${pre}openApiLog`,
            title: 'openApi日志',
            children: [
                {
                    path: `${pre}openApiLog/openApiLog/openApiLogList`,
                    title: 'openApi日志'
                }
            ]
        }
    ]
}
